home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-08-30 | 1.3 KB | 50 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Network\RAS & DUN"
- "NAME"="RAS/DUN Passwords"
- "VERSION"="1.71"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Disable saving RAS/DUN Passwords"
- "DESCRIPTION 1"="The Windows Dial-Up Networking (DUN) program allows you to save a user name and password for each dial-up connection."
- "DESCRIPTION 2"="While this is convenient, it can be very insecure if your PC or Laptop ever gets stolen!"
- "DESCRIPTION 3"="By enabling this option, DUN will forget every password that was saved and will not allow any user to save the password."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
-
-
-
- sPath="HKLM\SYSTEM\CurrentControlSet\Services\RasMan\Parameters\DisableSavePassword"
- Sub Plugin_Initialize
- if GetWinVer<>2 then
- Disable
- else
-
- i=RegReadValue(sPath)
- if i=1 then
- Call SetUIElement(1,true)
- end if
-
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sPath,1,2)
- else
- Call RegWriteValue(sPath,0,2)
- end if
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-